.home {
  $f: 19.2;

  .banner {
    position: relative;
    &::before{
      content:'';
      display: block;
      position: absolute;
      left: 0;
      top:0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, .2);
    }
    img {
      width: 100%;
      display: block;
      object-fit: cover;
      height: 33vh;
    }
    .text{
      position: absolute;
      left: 0;
      width: 100%;
      bottom:30/$f+vw;
      color:white;
      padding: 0 200/$f+vw;
      .p1{
        font-size: 30/$f+vw;
        font-weight: 600;
        line-height: 1;
      }
      .des{
        font-size: 20/$f+vw;
        margin-top: 20/$f+vw;
        line-height: 1.3;
        font-weight: 200;
      }
    }
  }

  .nav_menu {
    background: #F5F5F5;
    padding: 0 200/$f+vw;
    display: flex;
    align-items: center;

    a {
      display: block;
      padding: 20/$f+vw 44/$f+vw;
      color: #222;
      font-size: 17/$f+vw;
      line-height: 1.2;
      transition: all 600ms;
      cursor: pointer;
      &:hover{
        background: #FFF;
        color:#E6001A;
      }
    }
    .on{
      background: #FFF;
      color:#E6001A;
    }

    span {
      width: 1px;
      height: 10/$f+vw;
      background: #CCC;
    }
  }

  .section1{
    padding: 100/$f+vw 200/$f+vw;
    padding-bottom: 0;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    .l{
      color:rgba(0, 0, 0, 1);
      font-size: 1.3vw;
      line-height: 1.18;
    }
    .r{
      width: 1148/$f+vw;
      .p1{
        color: #000;
        font-size: 1.66667vw;
        line-height: 1;
      }
      .des{
        margin: 70/$f+vw 0 0 0 ;
        color: #666;
        font-size: 16/$f+vw;
        line-height: 1.8;
      }
      .nums{
        display: flex;
        position: relative;
        &::before{
          position: absolute;
          left:0;
          top:-30/$f+vw;
          width: 200%;
          background: rgba(197, 197, 197, 1);
          height: 1px;
          content:'';
          display: block;
        }
        .item{
           &:not(:last-child){
            margin-right: 240/$f+vw;
           }
          .pnum{
            color: #E94829;
            font-weight: bold;
            font-size: 1.3vw;
            line-height: 1;
          .count-item{
            font-size: 88/$f+vw;
          }
          }
          .tag{
            margin-top: 20/$f+vw;
            font-size: 20/$f+vw;
            line-height: 1.4;
          }
        }
      }
      .nums2{
        padding-left: 264/$f+vw;
        margin-top: 120/$f+vw;
      }
    }
  }

  .section2{
    display: flex;
    justify-content: space-between;
    margin: 70/$f+vw 100/$f+vw;
    .swiper-container{
      width: 100%;
    }
    .pic1{
      width: 50%;
      position: relative;
      height: 488/$f+vw;
      overflow: hidden;
      img{
        display: block;
        width: 101%;
        object-fit: cover;
        height: 488/$f+vw;
        transition: all 600ms;
      }
      p{
        position: absolute;
        right:28/$f+vw;
        bottom:24/$f+vw;
        color: #FFF;
        font-size: 14/$f+vw;
        z-index: 40;
      }
      // &:hover{
      //   img{
      //     transform: scale(1.05);
      //   }
      // }
    }
    .pics{
      display: flex;
      flex-wrap: wrap;
      width: 50%;
      height: 488/$f+vw;
      .pic{
        width: 50%;
        height: 244/$f+vw;
        position: relative;
        overflow: hidden;
        img{
          width: 101%;
          display: block;
          height: 244/$f+vw;
          object-fit: cover;
          transition: all 600ms;
        }
        p{
          position: absolute;
          right:20/$f+vw;
          bottom:24/$f+vw;
          color: #FFF;
          font-size: 14/$f+vw;
          z-index: 40;
        }
        // &:hover{
        //   img{
        //     transform: scale(1.05);
        //   }
        // }
      }
    }
  }

  .section3{
    margin: 180/$f+vw 200/$f+vw 120/$f+vw 200/$f+vw;
    display: flex;
    justify-content: space-between;
    .l{
      color:rgba(0, 0, 0, 1);
      font-size: 1.3vw;
      line-height: 1.18;
    }
    .r{
      width: 1148/$f+vw;
      .des{
        color: #666;
        font-size: 16/$f+vw;
        line-height: 1.8;
      }
    }
  }

  .section4{
    margin: 180/$f+vw 200/$f+vw 120/$f+vw 200/$f+vw;
    display: flex;
    justify-content: space-between;
    .l{
      color:rgba(0, 0, 0, 1);
      font-size: 1.3vw;
      line-height: 1.18;
    }
    .r{
      width: 1148/$f+vw;
      margin-top: -24/$f+vw;
       .list{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 32/$f+vw;
        .item{
          width: 100%;
          padding: 24/$f+vw 32/$f+vw;
          text-align: center;
          .p1{
            color: #191919;
            line-height: 1;
            font-size: 22/$f+vw;
          }
          .p2{
            color:rgba(25, 25, 25, 1);
            font-size: 14/$f+vw;
            line-height: 1.7;
            margin-top: 16/$f+vw;
          }
        }
       }
    }
  }
  @media screen and (max-width: 1024px){
    .banner{
      img{
        height: 300px;
      }
    }
    .nav_menu{
      padding: 0;
      a{
        padding: 15px 10px;
        font-size: 14px;
      }
      span{
        height: 10px;
      }
    }
    .section1{
      padding: 30px 5%;
      flex-direction: column;
      .l{
        font-size: 24px;
        line-height: inherit;
      }
      .r{
        width: 100%;
        margin-top: 20px;
        .p1{
          font-size: 20px;
        }
        .des{
          font-size: 16px;
          margin: 20px 0 ;
        }
        .nums{
          padding-top: 20px;
          &::before{
            top:0;
          }
          .item{
            .pnum{
              font-size: 18px;
              .count-item{
                font-size: 32px;
              }
            }
            .tag{
              font-size: 16px;
            }
          }
        }
      }
    }
    .section2{
      margin: 30px 5%;
      flex-direction: column;
      .pic1{
        width: 100%;
        height: auto;
        img{
          height: auto;
        }
        p{
          font-size: 14px;
          width: 80%;
          right:5%;
          bottom:10px;
          text-align: right;
        }
      }
      .pics{
        width: 100%;
        height: auto;
        .pic{
          width: 100%;
          height: auto;
          img{
            height: auto;
          }
          p{
            font-size: 14px;
            width: 80%;
            right:5%;
            bottom:10px;
            text-align: right;
          }
        }
      }
    }
    .section3{
      margin: 30px 5%;
      flex-direction: column;
      .l{
        font-size: 24px;
        line-height: inherit;
      }
      .r{
        width: 100%;
        margin-top: 20px;
        .des{
          font-size: 16px;
        }
      }
    }
    .section4{
      margin: 30px 5%;
      flex-direction: column;
      .l{
        font-size: 24px;
        line-height: inherit;
      }
      .r{
        width: 100%;
        margin-top: 20px;
        .list{
          grid-template-columns: repeat(1, 1fr);
          gap: 0;
          .item{
            padding: 15px 5%;
            .p1{
              font-size: 20px;
              line-height: inherit;
            }
            .p2{
              font-size: 16px;
              margin-top: 10px;
            }
          }
        }
      }
    }
  }

}